package com.hy.mydesktop.client.component.mvc.event;

import java.util.Map;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.extjs.gxt.ui.client.data.BaseModel;
import com.extjs.gxt.ui.client.data.ModelData;
import com.hy.mydesktop.shared.persistence.domain.gxt.MyBaseModel;

@Entity
@Table(name="t_EventStructureMetaModel")
//public class EventStructureMetaModel extends BaseModel{
public class EventStructureMetaModel extends MyBaseModel{
	
	
	
	/**
	 * <ul>
	 * <li>开发作者：花宏宇</li>
	 * <li>编写日期：2012-2-19；时间：下午03:02:38</li>
	 * <li>字段类型：long；字段名称：serialVersionUID</li>
	  long  the to setserialVersionUID
	 * <li>设计目的：</li>
	 * </ul>
	 * <ul>
	 * <b>修订编号：</b>
	 * <li>修订日期：</li>
	 * <li>修订作者：</li>
	 * <li>修订原因：</li>
	 * <li>修订内容：</li>
	 * </ul>
	 */
	private static final long serialVersionUID = 1L;
	public EventStructureMetaModel() {
		super();
		// TODO Auto-generated constructor stub
	}
	public EventStructureMetaModel(Map<String, Object> properties) {
		super(properties);
		// TODO Auto-generated constructor stub
	}
	public String getUiCount() {
		return super.get("uiCount");
	}
	public void setUiCount(String uiCount) {
		super.set("uiCount",uiCount);
	}
	
	public String getRootControllerId() {
		return super.get("rootControllerId");
	}
	public void setRootControllerId(String rootControllerId) {
		super.set("rootControllerId",rootControllerId);
	}
	
	public String getEventCode() {
		return super.get("eventCode");
	}
	public void setEventCode(String eventCode) {
		super.set("eventCode", eventCode);
	}
	
	
	
	
	/*
	 * 已知ModelData的属性定义
	 * store----GridDataLoadView
	 * column---GridDataLoadView
	 */
	@Transient
	public ModelData getEventData() {
		return super.get("eventData");
	}
	public void setEventData(ModelData eventData) {
		super.set("eventData", eventData);
	}
	
	public String getControllerId() {
		return super.get("controllerId");
	}
	public void setControllerId(String controllerId) {
		super.set("controllerId", controllerId);
	}
	public String getResponseModeId() {
		return super.get("responseModeId");
	}
	public void setResponseModeId(String responseModeId) {
		super.set("responseModeId", responseModeId);
	}
}

/*public class EventStructureMetaModel {
	private String controllerId;
	private String responseModeId;
	private String eventCode;
	private String rootControllerId;
	public String getRootControllerId() {
		return rootControllerId;
	}
	public void setRootControllerId(String rootControllerId) {
		this.rootControllerId = rootControllerId;
	}
	public String getEventCode() {
		return eventCode;
	}
	public void setEventCode(String eventCode) {
		this.eventCode = eventCode;
	}
	public String getControllerId() {
		return controllerId;
	}
	public void setControllerId(String controllerId) {
		this.controllerId = controllerId;
	}
	public String getResponseModeId() {
		return responseModeId;
	}
	public void setResponseModeId(String responseModeId) {
		this.responseModeId = responseModeId;
	}
}*/
